<!DOCTYPE HTML>
<html lang="zh-CN">
<head>
	<meta charset="utf-8" />
	<title>咨询详情</title>
	<meta name="viewport" content="width=device-width, initial-scale=1.0, maximum-scale=1.0, user-scalable=0;" />
	<meta name="format-detection" content="telephone=no" />
	<link type="text/css" rel="stylesheet" href="{weixin::$staticFilePath}/css/style.css" />
    <link type="text/css" rel="stylesheet" href="/tpl/Wap/default/common/css/products/4/css/style.css" />
	<script src="{weixin::$staticFilePath}/js/jquery.min.js" type="text/javascript"></script>
	<script type="text/javascript" src="{weixin::$staticFilePath}/js/main.js"></script>
    <script src="http://res.wx.qq.com/open/js/jweixin-1.0.0.js"></script>
    <script src='/tpl/Wap/default/js/share.js'></script>
    <script type="text/javascript">
	var title = "{weixin:$name}";
    var desc  = "{weixin:$wxshop.wxshop_desc}";
	var link  = "{weixin::C('site_url')}/index.php?g=Wap&m=Product&a=products&token={weixin:$_GET['token']}";
    var imgUrl = "{weixin::C('site_url')}/images/logo.png";
	var appId= '{weixin:$signPackage["appId"]}';
    var timestamp = '{weixin:$signPackage["timestamp"]}';
    var nonceStr = '{weixin:$signPackage["nonceStr"]}';
    var signature= '{weixin:$signPackage["signature"]}';
	$(function(){ 
  		share(title,desc,link,imgUrl,appId,timestamp,nonceStr,signature);
 	}); 
    </script>
    <style type="text/css">
	   th
	   {
		   color:white;
		   font-size:16px;
		   height:30px;
	   }
       th,td
        {
            border-bottom: solid #eee 1px;
        }
    </style>
    <script>
	 function firmDel(id)
   {
	  document.getElementById('message-notice_'+ id).style.display='block';
   }

	</script>
</head>

<body style="line-height:1.6">
<form action="" method="post" name="form1" style="padding-bottom:5px;">
<div class="u_main">
<h2><center>我的咨询</center></h2>
    <div style="padding: 10px;">
    <div>日期：{weixin:$consultation.consult_time|date='Y-m-d',###}</div>
    <div style="width:98%;">
     {weixin:$consultation.consult_desc}
    </div>
    <if condition="$consultation.consult_img neq ''" >
		<div><img alt="" src="{weixin:$consultation.consult_img}" width="80%" height="100px"></div>
	</if>
    <div>咨询费：{weixin:$consultation.consult_fee}</div>
    <div>状态：{weixin:$status}</div>
    <if condition="$consultation.status eq 2 or $consultation.status eq 3 ">
    <a href="{weixin::U('Userinfo/cancelConsult',array('token'=>$_GET['token'],'id'=>$consultation['id']))}">取消</a>
    </div>
    </if>
   <div style="padding: 10px;<if condition="!$solutions">display: none;</if>">
		<ul class="clearfix" id="f_list">
		<volist name="solutions" id="hostlist"> 
		  <if condition="$hostlist.solution_img neq '' || $hostlist.solution_desc" >
			<li style="padding: 10px 0px; list-style-type: square;">
			<div>
				<a style="text-decoration: none;"  href="{weixin::U('Expert/expertDetail',array('token'=>$_GET['token'],'expert_id'=>$hostlist['expert_id']))}">
					<h3 style="color:#888; line-height:1.6; font-weight:normal;height: 20px; overflow:hidden; font-size:14px;">{weixin:$hostlist.expert_name}，{weixin:$hostlist.expert_level}，{weixin:$hostlist.expert_title}，{weixin:$hostlist.keywords}</h3>
					<h3 style="color:#888; line-height:1.6; font-weight:normal;height: 20px; overflow:hidden; font-size:14px;">{weixin:$hostlist.solution_time|date='Y-m-d',###}</h3>
				</a>
				<input name="solution_id" type="radio" value="{weixin:$hostlist.id}" <if condition="$hostlist.is_best eq 1">checked="checked"</if>/>
				<div style="padding: 20px; background-color:#ddff77;border: 1px solid #eee;">{weixin:$hostlist.solution_desc}</div>
			    <if condition="$hostlist.solution_img neq ''" >
					<div><img alt="" src="{weixin:$hostlist.solution_img}" width="80%" height="100px"></div>
				</if>
			</div>
		    </li>
		    </if>
		</volist>
		</ul>
		<div>
	 <if condition="!$is_check || !$solutions">
	 <button style="height: 28px;" name="submit" type="submit" value="submit">选择一个最满意答案并可以向此专家追问一次同样问题</button>
	 <br/><br/>
	 <button style="height: 28px;" name="submit2" type="submit" value="submit2">如没有追问，选择一个最满意答案</button>
	 <input style="height: 28px;" type="hidden" value="{weixin:$consultation.id}" name="id">
	 </if>
	</div>
	</div>
</div>
</form>
</body>